package com.lingjtx.common.redis.stream;

public interface RedisEventListener<T extends RedisStreamTypedEvent> {
    void onMessage(T event);

    Class<T> getEventType();
}
